<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::post('login','UserController@wxLogin');

	Route::group(['middleware' => 'token_verify'], function () {
		
		Route::get('jiuzhenren','JiuzhenrenController@jiuzhenren');

		Route::post('jiuzhenren_add','JiuzhenrenController@jiuzhenrenAdd');

		Route::post('jiuzhenren_default','JiuzhenrenController@jiuzhenrenDefault');

		Route::post('jiuzhenren_del','JiuzhenrenController@jiuzhenrenDel');

		Route::get('jiuzhenren_default_get','JiuzhenrenController@jiuzhenrenDefaultGet');

		Route::get('guahao','GuahaoController@guahao');
		
		Route::get('guahao_time_list','GuahaoController@getGuaHaoTimeList');

		Route::post('guahao_add','GuahaoController@guahaoAdd');
		
		Route::post('guahao_clear','GuahaoController@clearYuyue');

		Route::get('guahao_get_data','GuahaoController@getData');
		
		Route::get('baogao_list','BaogaoController@list');
		
		Route::get('baogao_get','BaogaoController@get');

	});
	
	// 获取广告图片ad
	Route::get('ad','GuahaoController@getAdList');
	
	Route::get('baogao_list1','BaogaoController@list');

	Route::get('news','NewsController@news');

	Route::get('news_info','NewsController@newsInfo');
	
	Route::get('get_news_category','NewsController@getCategory');

	Route::get('keshi','KeshiController@keshi');

	Route::get('yisheng','KeshiController@yisheng');

	Route::get('yisheng_info','KeshiController@yishengInfo');



//sdf